//
//  CZDefaultCenterView.h
//  小和微博
//
//  Created by 董晓合 on 15/2/22.
//  Copyright (c) 2015年 itcast. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CZDefaultCenterView;

@protocol CZDefaultCenterViewDelegate <NSObject>

- (void)defaultCenterView:(CZDefaultCenterView *)defaultCenterView didClickLogin:(UIButton *)loginBtn;
- (void)defaultCenterView:(CZDefaultCenterView *)defaultCenterView didClickRegister:(UIButton *)registerBtn;

@end

@interface CZDefaultCenterView : UIView

+ (instancetype)defaultCenterView;

// 图片名称
@property (nonatomic ,strong) NSString *iconImageName;
// 描述信息
@property (nonatomic ,strong) NSString *info;

 //  转盘
@property (weak, nonatomic) IBOutlet UIImageView *turntableIv;

/**
 *  开始转动
 */
- (void)startRotate;
- (void)stopRotate;

@property (nonatomic, weak) id<CZDefaultCenterViewDelegate>delegate;

@end
